/* 浮动图标 */
.fk_service {
    max-height: 232px;
    position: fixed;
    right: 8px;
    top: 66%;
    font-size: 14px;
    color: #243558;
    z-index: 10000
}

.fk_service ul {
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0
}

.fk_service li {
    list-style-type: none
}

.fk_service li>div {
    box-sizing: border-box;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.1);
}

.fk_service_box {
    width: 40px;
    height: 40px;
    background: #fff;
    margin-bottom: 10px;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.fk_service_triangle {
    top: 12px;
    right: -11px;
    position: absolute;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #e1e6ec;
    z-index: 1010
}

.fk_service_triangle:after {
    content: "\20";
    top: -6px;
    right: 1px;
    position: absolute;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #fff;
    z-index: 1000
}

.fk_service_triangle:before {
    content: "\20";
    width: 80px;
    height: 45px;
    top: -20px;
    right: -52px;
    position: absolute;
    background: rgba(0, 0, 0, 0)
}

@keyframes fade-in {
    0% {
        opacity: .4;
        right: 82px
    }

    100% {
        opacity: 1;
        right: 62px
    }
}

/* 返回顶部 */
.fk_service_upward {
    background: url(../../images/icons/upward-all.png) no-repeat -363px -159px #fff
}

.fk_service_upward:hover {
    border: 0;
    background: url(../../images/icons/upward-all.png) no-repeat -407px -159px #4f7cfc;
    cursor: pointer
}

.fk_service_upward:hover .fk_service_upward_cont {
    display: block;
    opacity: 1;
    transition: linear .2s;
    animation-name: fade-in;
    animation-duration: .3s;
    animation-iteration-count: 1;
    animation-delay: 0s
}

.fk_service_upward_cont {
    width: 90px;
    height: 40px;
    line-height: 40px;
    border-radius: 3px;
    color: black;
    background: #fff;
    right: 62px;
    position: absolute;
    text-align: center;
    border: 1px solid #e1e6ec;
    display: none;
    opacity: 0;
    box-shadow: 0 0 9px 0 rgb(0 0 0 / 10%);
}

/* 夜间模式 */
.fk_service_ax {
    background: url(../../images/icons/moon.png) no-repeat center center #fff;
    background-size: 40%40%;
}

.fk_service_ax:hover {
    border: 0;
    background: url(../../images/icons/moon_hover.png) no-repeat center center #4f7cfc;
    background-size: 40%40%;
    cursor: pointer
}

.fk_service_ax:hover .fk_service_ax_cont {
    display: block;
    opacity: 1;
    transition: linear .2s;
    animation-name: fade-in;
    animation-duration: .3s;
    animation-iteration-count: 1;
    animation-delay: 0s
}

.fk_service_ax_cont {
    width: 112px;
    height: 40px;
    line-height: 40px;
    background: #fff;
    border-radius: 5px;
    right: 62px;
    text-align: center;
    position: absolute;
    display: none;
    border: 1px solid #e1e6ec;
}

/* 手机端自动隐藏 */
@media screen and (max-width: 991px) {

    .fk_service_ax {
        display: none;
    }

    .fk_service {
        top: 84% !important;
        right: 2% !important;
    }
}

@media screen and (min-width: 991px) {
    .row {
        margin-right: 12px !important;
    }
}

/* 隐藏图标 */
.fk_service_upward {
    display: none;
}